PTDispatchProtocol Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | PTDispatcher.h |
– didDiscoverPeripheral:RSSI:
每发现一个蓝牙设备调用一次
- (void)didDiscoverPeripheral:(CBPeripheral *)peripheral RSSI:(NSNumber *)RSSIDeclared In
PTDispatcher.h
– didConnectPeripheral:
成功连接 BLE 或者观察通知:PTDispatchModeChangeToBLE
- (void)didConnectPeripheral:(CBPeripheral *)peripheralDeclared In
PTDispatcher.h
– didConnectWiFi:
成功连接 WiFi 或者观察通知:PTDispatchModeChangeToWIFI
- (void)didConnectWiFi:(NSString *)ipDeclared In
PTDispatcher.h